package com.eportal.ORM;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * ViewExpressInfo entity. @author MyEclipse Persistence Tools
 */

public class ViewExpressInfo implements java.io.Serializable {

	// Fields
	private long id;
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	private String expressSeq;
	private String expressOrigin;
	private String expressDestination;
	private String expressFromName;
	private String expressToName;
	private String expressFromAddress;
	private String expressToAddress;
	private String expressFromTel;
	private String expressToNo;
	private String expressFromNo;
	private String expressToTel;
	private String expressGoods;
	private Long expressGoodsAmount;
	private String expressBankCard;
	private String expressBankName;
	private String expressBankAccname;
	private Timestamp expressAppdt;
	private Timestamp expressUpdt;
	private String expressAppusr;
	private String expressUpusr;
	private String expressPayState;
	private String expressGoodsState;
	private String expressLog;
	private String expressGoodsMan;
	private String expressOrgcode;
	private BigDecimal goodAmt;
	private String goodsName;
	private String payName;

	// Constructors

	/** default constructor */
	public ViewExpressInfo() {
	}

	/** minimal constructor */
	public ViewExpressInfo(String expressSeq) {
		this.expressSeq = expressSeq;
	}

	/** full constructor */
	public ViewExpressInfo(String expressSeq, String expressOrigin,
			String expressDestination, String expressFromName,
			String expressToName, String expressFromAddress,
			String expressToAddress, String expressFromTel, String expressToNo,
			String expressFromNo, String expressToTel, String expressGoods,
			Long expressGoodsAmount, String expressBankCard,
			String expressBankName, String expressBankAccname,
			Timestamp expressAppdt, Timestamp expressUpdt,
			String expressAppusr, String expressUpusr, String expressPayState,
			String expressGoodsState, String expressLog,
			String expressGoodsMan, String expressOrgcode, BigDecimal goodAmt,
			String goodsName, String payName) {
		this.expressSeq = expressSeq;
		this.expressOrigin = expressOrigin;
		this.expressDestination = expressDestination;
		this.expressFromName = expressFromName;
		this.expressToName = expressToName;
		this.expressFromAddress = expressFromAddress;
		this.expressToAddress = expressToAddress;
		this.expressFromTel = expressFromTel;
		this.expressToNo = expressToNo;
		this.expressFromNo = expressFromNo;
		this.expressToTel = expressToTel;
		this.expressGoods = expressGoods;
		this.expressGoodsAmount = expressGoodsAmount;
		this.expressBankCard = expressBankCard;
		this.expressBankName = expressBankName;
		this.expressBankAccname = expressBankAccname;
		this.expressAppdt = expressAppdt;
		this.expressUpdt = expressUpdt;
		this.expressAppusr = expressAppusr;
		this.expressUpusr = expressUpusr;
		this.expressPayState = expressPayState;
		this.expressGoodsState = expressGoodsState;
		this.expressLog = expressLog;
		this.expressGoodsMan = expressGoodsMan;
		this.expressOrgcode = expressOrgcode;
		this.goodAmt = goodAmt;
		this.goodsName = goodsName;
		this.payName = payName;
	}

	// Property accessors

	public String getExpressSeq() {
		return this.expressSeq;
	}

	public void setExpressSeq(String expressSeq) {
		this.expressSeq = expressSeq;
	}

	public String getExpressOrigin() {
		return this.expressOrigin;
	}

	public void setExpressOrigin(String expressOrigin) {
		this.expressOrigin = expressOrigin;
	}

	public String getExpressDestination() {
		return this.expressDestination;
	}

	public void setExpressDestination(String expressDestination) {
		this.expressDestination = expressDestination;
	}

	public String getExpressFromName() {
		return this.expressFromName;
	}

	public void setExpressFromName(String expressFromName) {
		this.expressFromName = expressFromName;
	}

	public String getExpressToName() {
		return this.expressToName;
	}

	public void setExpressToName(String expressToName) {
		this.expressToName = expressToName;
	}

	public String getExpressFromAddress() {
		return this.expressFromAddress;
	}

	public void setExpressFromAddress(String expressFromAddress) {
		this.expressFromAddress = expressFromAddress;
	}

	public String getExpressToAddress() {
		return this.expressToAddress;
	}

	public void setExpressToAddress(String expressToAddress) {
		this.expressToAddress = expressToAddress;
	}

	public String getExpressFromTel() {
		return this.expressFromTel;
	}

	public void setExpressFromTel(String expressFromTel) {
		this.expressFromTel = expressFromTel;
	}

	public String getExpressToNo() {
		return this.expressToNo;
	}

	public void setExpressToNo(String expressToNo) {
		this.expressToNo = expressToNo;
	}

	public String getExpressFromNo() {
		return this.expressFromNo;
	}

	public void setExpressFromNo(String expressFromNo) {
		this.expressFromNo = expressFromNo;
	}

	public String getExpressToTel() {
		return this.expressToTel;
	}

	public void setExpressToTel(String expressToTel) {
		this.expressToTel = expressToTel;
	}

	public String getExpressGoods() {
		return this.expressGoods;
	}

	public void setExpressGoods(String expressGoods) {
		this.expressGoods = expressGoods;
	}

	public Long getExpressGoodsAmount() {
		return this.expressGoodsAmount;
	}

	public void setExpressGoodsAmount(Long expressGoodsAmount) {
		this.expressGoodsAmount = expressGoodsAmount;
	}

	public String getExpressBankCard() {
		return this.expressBankCard;
	}

	public void setExpressBankCard(String expressBankCard) {
		this.expressBankCard = expressBankCard;
	}

	public String getExpressBankName() {
		return this.expressBankName;
	}

	public void setExpressBankName(String expressBankName) {
		this.expressBankName = expressBankName;
	}

	public String getExpressBankAccname() {
		return this.expressBankAccname;
	}

	public void setExpressBankAccname(String expressBankAccname) {
		this.expressBankAccname = expressBankAccname;
	}

	public Timestamp getExpressAppdt() {
		return this.expressAppdt;
	}

	public void setExpressAppdt(Timestamp expressAppdt) {
		this.expressAppdt = expressAppdt;
	}

	public Timestamp getExpressUpdt() {
		return this.expressUpdt;
	}

	public void setExpressUpdt(Timestamp expressUpdt) {
		this.expressUpdt = expressUpdt;
	}

	public String getExpressAppusr() {
		return this.expressAppusr;
	}

	public void setExpressAppusr(String expressAppusr) {
		this.expressAppusr = expressAppusr;
	}

	public String getExpressUpusr() {
		return this.expressUpusr;
	}

	public void setExpressUpusr(String expressUpusr) {
		this.expressUpusr = expressUpusr;
	}

	public String getExpressPayState() {
		return this.expressPayState;
	}

	public void setExpressPayState(String expressPayState) {
		this.expressPayState = expressPayState;
	}

	public String getExpressGoodsState() {
		return this.expressGoodsState;
	}

	public void setExpressGoodsState(String expressGoodsState) {
		this.expressGoodsState = expressGoodsState;
	}

	public String getExpressLog() {
		return this.expressLog;
	}

	public void setExpressLog(String expressLog) {
		this.expressLog = expressLog;
	}

	public String getExpressGoodsMan() {
		return this.expressGoodsMan;
	}

	public void setExpressGoodsMan(String expressGoodsMan) {
		this.expressGoodsMan = expressGoodsMan;
	}

	public String getExpressOrgcode() {
		return this.expressOrgcode;
	}

	public void setExpressOrgcode(String expressOrgcode) {
		this.expressOrgcode = expressOrgcode;
	}

	public BigDecimal getGoodAmt() {
		return this.goodAmt;
	}

	public void setGoodAmt(BigDecimal goodAmt) {
		this.goodAmt = goodAmt;
	}

	public String getGoodsName() {
		return this.goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getPayName() {
		return this.payName;
	}

	public void setPayName(String payName) {
		this.payName = payName;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof ViewExpressInfo))
			return false;
		ViewExpressInfo castOther = (ViewExpressInfo) other;

		return ((this.getExpressSeq() == castOther.getExpressSeq()) || (this
				.getExpressSeq() != null
				&& castOther.getExpressSeq() != null && this.getExpressSeq()
				.equals(castOther.getExpressSeq())))
				&& ((this.getExpressOrigin() == castOther.getExpressOrigin()) || (this
						.getExpressOrigin() != null
						&& castOther.getExpressOrigin() != null && this
						.getExpressOrigin()
						.equals(castOther.getExpressOrigin())))
				&& ((this.getExpressDestination() == castOther
						.getExpressDestination()) || (this
						.getExpressDestination() != null
						&& castOther.getExpressDestination() != null && this
						.getExpressDestination().equals(
								castOther.getExpressDestination())))
				&& ((this.getExpressFromName() == castOther
						.getExpressFromName()) || (this.getExpressFromName() != null
						&& castOther.getExpressFromName() != null && this
						.getExpressFromName().equals(
								castOther.getExpressFromName())))
				&& ((this.getExpressToName() == castOther.getExpressToName()) || (this
						.getExpressToName() != null
						&& castOther.getExpressToName() != null && this
						.getExpressToName()
						.equals(castOther.getExpressToName())))
				&& ((this.getExpressFromAddress() == castOther
						.getExpressFromAddress()) || (this
						.getExpressFromAddress() != null
						&& castOther.getExpressFromAddress() != null && this
						.getExpressFromAddress().equals(
								castOther.getExpressFromAddress())))
				&& ((this.getExpressToAddress() == castOther
						.getExpressToAddress()) || (this.getExpressToAddress() != null
						&& castOther.getExpressToAddress() != null && this
						.getExpressToAddress().equals(
								castOther.getExpressToAddress())))
				&& ((this.getExpressFromTel() == castOther.getExpressFromTel()) || (this
						.getExpressFromTel() != null
						&& castOther.getExpressFromTel() != null && this
						.getExpressFromTel().equals(
								castOther.getExpressFromTel())))
				&& ((this.getExpressToNo() == castOther.getExpressToNo()) || (this
						.getExpressToNo() != null
						&& castOther.getExpressToNo() != null && this
						.getExpressToNo().equals(castOther.getExpressToNo())))
				&& ((this.getExpressFromNo() == castOther.getExpressFromNo()) || (this
						.getExpressFromNo() != null
						&& castOther.getExpressFromNo() != null && this
						.getExpressFromNo()
						.equals(castOther.getExpressFromNo())))
				&& ((this.getExpressToTel() == castOther.getExpressToTel()) || (this
						.getExpressToTel() != null
						&& castOther.getExpressToTel() != null && this
						.getExpressToTel().equals(castOther.getExpressToTel())))
				&& ((this.getExpressGoods() == castOther.getExpressGoods()) || (this
						.getExpressGoods() != null
						&& castOther.getExpressGoods() != null && this
						.getExpressGoods().equals(castOther.getExpressGoods())))
				&& ((this.getExpressGoodsAmount() == castOther
						.getExpressGoodsAmount()) || (this
						.getExpressGoodsAmount() != null
						&& castOther.getExpressGoodsAmount() != null && this
						.getExpressGoodsAmount().equals(
								castOther.getExpressGoodsAmount())))
				&& ((this.getExpressBankCard() == castOther
						.getExpressBankCard()) || (this.getExpressBankCard() != null
						&& castOther.getExpressBankCard() != null && this
						.getExpressBankCard().equals(
								castOther.getExpressBankCard())))
				&& ((this.getExpressBankName() == castOther
						.getExpressBankName()) || (this.getExpressBankName() != null
						&& castOther.getExpressBankName() != null && this
						.getExpressBankName().equals(
								castOther.getExpressBankName())))
				&& ((this.getExpressBankAccname() == castOther
						.getExpressBankAccname()) || (this
						.getExpressBankAccname() != null
						&& castOther.getExpressBankAccname() != null && this
						.getExpressBankAccname().equals(
								castOther.getExpressBankAccname())))
				&& ((this.getExpressAppdt() == castOther.getExpressAppdt()) || (this
						.getExpressAppdt() != null
						&& castOther.getExpressAppdt() != null && this
						.getExpressAppdt().equals(castOther.getExpressAppdt())))
				&& ((this.getExpressUpdt() == castOther.getExpressUpdt()) || (this
						.getExpressUpdt() != null
						&& castOther.getExpressUpdt() != null && this
						.getExpressUpdt().equals(castOther.getExpressUpdt())))
				&& ((this.getExpressAppusr() == castOther.getExpressAppusr()) || (this
						.getExpressAppusr() != null
						&& castOther.getExpressAppusr() != null && this
						.getExpressAppusr()
						.equals(castOther.getExpressAppusr())))
				&& ((this.getExpressUpusr() == castOther.getExpressUpusr()) || (this
						.getExpressUpusr() != null
						&& castOther.getExpressUpusr() != null && this
						.getExpressUpusr().equals(castOther.getExpressUpusr())))
				&& ((this.getExpressPayState() == castOther
						.getExpressPayState()) || (this.getExpressPayState() != null
						&& castOther.getExpressPayState() != null && this
						.getExpressPayState().equals(
								castOther.getExpressPayState())))
				&& ((this.getExpressGoodsState() == castOther
						.getExpressGoodsState()) || (this
						.getExpressGoodsState() != null
						&& castOther.getExpressGoodsState() != null && this
						.getExpressGoodsState().equals(
								castOther.getExpressGoodsState())))
				&& ((this.getExpressLog() == castOther.getExpressLog()) || (this
						.getExpressLog() != null
						&& castOther.getExpressLog() != null && this
						.getExpressLog().equals(castOther.getExpressLog())))
				&& ((this.getExpressGoodsMan() == castOther
						.getExpressGoodsMan()) || (this.getExpressGoodsMan() != null
						&& castOther.getExpressGoodsMan() != null && this
						.getExpressGoodsMan().equals(
								castOther.getExpressGoodsMan())))
				&& ((this.getExpressOrgcode() == castOther.getExpressOrgcode()) || (this
						.getExpressOrgcode() != null
						&& castOther.getExpressOrgcode() != null && this
						.getExpressOrgcode().equals(
								castOther.getExpressOrgcode())))
				&& ((this.getGoodAmt() == castOther.getGoodAmt()) || (this
						.getGoodAmt() != null
						&& castOther.getGoodAmt() != null && this.getGoodAmt()
						.equals(castOther.getGoodAmt())))
				&& ((this.getGoodsName() == castOther.getGoodsName()) || (this
						.getGoodsName() != null
						&& castOther.getGoodsName() != null && this
						.getGoodsName().equals(castOther.getGoodsName())))
				&& ((this.getPayName() == castOther.getPayName()) || (this
						.getPayName() != null
						&& castOther.getPayName() != null && this.getPayName()
						.equals(castOther.getPayName())));
	}

	public int hashCode() {
		int result = 17;

		result = 37
				* result
				+ (getExpressSeq() == null ? 0 : this.getExpressSeq()
						.hashCode());
		result = 37
				* result
				+ (getExpressOrigin() == null ? 0 : this.getExpressOrigin()
						.hashCode());
		result = 37
				* result
				+ (getExpressDestination() == null ? 0 : this
						.getExpressDestination().hashCode());
		result = 37
				* result
				+ (getExpressFromName() == null ? 0 : this.getExpressFromName()
						.hashCode());
		result = 37
				* result
				+ (getExpressToName() == null ? 0 : this.getExpressToName()
						.hashCode());
		result = 37
				* result
				+ (getExpressFromAddress() == null ? 0 : this
						.getExpressFromAddress().hashCode());
		result = 37
				* result
				+ (getExpressToAddress() == null ? 0 : this
						.getExpressToAddress().hashCode());
		result = 37
				* result
				+ (getExpressFromTel() == null ? 0 : this.getExpressFromTel()
						.hashCode());
		result = 37
				* result
				+ (getExpressToNo() == null ? 0 : this.getExpressToNo()
						.hashCode());
		result = 37
				* result
				+ (getExpressFromNo() == null ? 0 : this.getExpressFromNo()
						.hashCode());
		result = 37
				* result
				+ (getExpressToTel() == null ? 0 : this.getExpressToTel()
						.hashCode());
		result = 37
				* result
				+ (getExpressGoods() == null ? 0 : this.getExpressGoods()
						.hashCode());
		result = 37
				* result
				+ (getExpressGoodsAmount() == null ? 0 : this
						.getExpressGoodsAmount().hashCode());
		result = 37
				* result
				+ (getExpressBankCard() == null ? 0 : this.getExpressBankCard()
						.hashCode());
		result = 37
				* result
				+ (getExpressBankName() == null ? 0 : this.getExpressBankName()
						.hashCode());
		result = 37
				* result
				+ (getExpressBankAccname() == null ? 0 : this
						.getExpressBankAccname().hashCode());
		result = 37
				* result
				+ (getExpressAppdt() == null ? 0 : this.getExpressAppdt()
						.hashCode());
		result = 37
				* result
				+ (getExpressUpdt() == null ? 0 : this.getExpressUpdt()
						.hashCode());
		result = 37
				* result
				+ (getExpressAppusr() == null ? 0 : this.getExpressAppusr()
						.hashCode());
		result = 37
				* result
				+ (getExpressUpusr() == null ? 0 : this.getExpressUpusr()
						.hashCode());
		result = 37
				* result
				+ (getExpressPayState() == null ? 0 : this.getExpressPayState()
						.hashCode());
		result = 37
				* result
				+ (getExpressGoodsState() == null ? 0 : this
						.getExpressGoodsState().hashCode());
		result = 37
				* result
				+ (getExpressLog() == null ? 0 : this.getExpressLog()
						.hashCode());
		result = 37
				* result
				+ (getExpressGoodsMan() == null ? 0 : this.getExpressGoodsMan()
						.hashCode());
		result = 37
				* result
				+ (getExpressOrgcode() == null ? 0 : this.getExpressOrgcode()
						.hashCode());
		result = 37 * result
				+ (getGoodAmt() == null ? 0 : this.getGoodAmt().hashCode());
		result = 37 * result
				+ (getGoodsName() == null ? 0 : this.getGoodsName().hashCode());
		result = 37 * result
				+ (getPayName() == null ? 0 : this.getPayName().hashCode());
		return result;
	}

}